Page({

    
  data: {
    detail: {}
  },

    
  onLoad(options) {

  },

    
  onReady() {

  },

    
  onShow() {
    let that = this
    wx.request({
      url: 'http://localhost:3001/data',
       success (res) {
          res.data.showTime = new Date(res.data.showTime).toLocaleDateString()

          that.setData({
            detail: res.data
          })
       }
    })
  },

    
  onHide() {

  },

    
  onUnload() {

  },

    
  onPullDownRefresh() {

  },

    
  onReachBottom() {

  },

    
  onShareAppMessage() {

  }
})